<?php
	// On prolonge la session
	session_start();
	$id_anim='';
	$code='';
	
	require_once dirname(__FILE__) . "/../../includes/config.php";
	
	
	
		// On teste si la variable de session existe et contient une valeur
		if(empty($_SESSION['id_anim'])){
			// Si inexistante ou nulle, on redirige vers le formulaire de login
			header('Location: ../recherche.php');
			exit();
		}
		else{
			$id_anim=$_SESSION['id_anim'];
			$code=$_SESSION['code'];
		}
	
?>

<!DOCTYPE html>
<html>
	<head>
        <meta charset="utf-8" />
        <link rel="stylesheet" href="../../style.css" />
		<!--[if lt IE 9]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <!--[if lte IE 7]>
        <link rel="stylesheet" href="../../style_ie.css" />
        <![endif]-->
        <title>Base de données microcèbes</title>
        
        <script>
			var id = <?php echo $_SESSION['id_anim'];?>;
		</script>
		<script type="text/javascript" src="../../js/oXHR.js"></script>
		<script src="autres_tests_r.js"></script>		
    </head>
    
    <body>
		<?php include((dirname(dirname(dirname(__FILE__))))."/menu.php"); ?>

		<section id="main">
			<header>
				<h1>Recherche - Autres analyses animal <?php echo $code; ?></h1>
			</header>
			<?php include((dirname(dirname(__FILE__)))."/menu_recherche.php"); ?>
			<section id="animal">
				<div id="menu3">
					<ul id="onglets"></ul>
				</div>
				<section id="contenu">
				</section>
			</section>
		</section>
	</body>
</html>
